Skip GtkShortcutLabel::accelerator in notify test
authorMatthias Clasen <mclasen@redhat.com>
Wed, 3 Aug 2016 03:59:34 +0000 (23:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 3 Aug 2016 03:59:34 +0000 (23:59 -0400)
This property is not freely settable, since the string
gets parsed.

testsuite/gtk/notify.c

index c289c4650ff2758e54c702bc33bf1e55789f1aaa..1970e0049606ebdc06ed08b96bfe2c853b0187f4 100644 (file)
@@ -667,6 +667,10 @@ test_type (gconstpointer data)
          g_str_equal (pspec->name, "accelerator"))
        continue;
 
+      if (g_type_is_a (type, GTK_TYPE_SHORTCUT_LABEL) &&
+         g_str_equal (pspec->name, "accelerator"))
+       continue;
+
       if (g_type_is_a (type, GTK_TYPE_FONT_CHOOSER) &&
          g_str_equal (pspec->name, "font"))
        continue;